<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>axiethernet: xaxiethernet_example.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">axiethernet
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xaxiethernet__example_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xaxiethernet_example.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>Defines common data types, prototypes, and includes the proper headers for use with the Axi Ethernet example code residing in this directory. </p>
<p>This file along with <a class="el" href="xaxiethernet__example__util_8c.html" title="This file implements the utility functions for the Axi Ethernet example code. ">xaxiethernet_example_util.c</a> are utilized with the specific example code in the other source code files provided.</p>
<p>These examples are designed to be compiled and utilized within the EDK standalone BSP development environment. The readme file contains more information on build requirements needed by these examples.</p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date     Changes
</p>
<hr/>
<p>
1.00a asa  4/30/10 First release based on the ll temac driver
3.02a srt  4/26/13 Added function prototype for *_ConfigureInternalPhy().</pre><pre></pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a1eb6d3a3d578519d065f1e674d00f144"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaxiethernet__example_8h.html#a1eb6d3a3d578519d065f1e674d00f144">AxiEthernetUtilFrameHdrFormatMAC</a> (EthernetFrame *FramePtr, char *DestAddr)</td></tr>
<tr class="memdesc:a1eb6d3a3d578519d065f1e674d00f144"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the MAC addresses in the frame.  <a href="#a1eb6d3a3d578519d065f1e674d00f144">More...</a><br/></td></tr>
<tr class="separator:a1eb6d3a3d578519d065f1e674d00f144"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8c4f8ca2870764a5708ae0458d2b96a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaxiethernet__example_8h.html#aa8c4f8ca2870764a5708ae0458d2b96a">AxiEthernetUtilFrameHdrFormatType</a> (EthernetFrame *FramePtr, u16 FrameType)</td></tr>
<tr class="memdesc:aa8c4f8ca2870764a5708ae0458d2b96a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the frame type for the specified frame.  <a href="#aa8c4f8ca2870764a5708ae0458d2b96a">More...</a><br/></td></tr>
<tr class="separator:aa8c4f8ca2870764a5708ae0458d2b96a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b2b391e4495ed818546c7ec695a724a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaxiethernet__example_8h.html#a5b2b391e4495ed818546c7ec695a724a">AxiEthernetUtilFrameSetPayloadData</a> (EthernetFrame *FramePtr, int PayloadSize)</td></tr>
<tr class="memdesc:a5b2b391e4495ed818546c7ec695a724a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function places a pattern in the payload section of a frame.  <a href="#a5b2b391e4495ed818546c7ec695a724a">More...</a><br/></td></tr>
<tr class="separator:a5b2b391e4495ed818546c7ec695a724a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06e72f556318d480d96f454d0b30ced8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaxiethernet__example_8h.html#a06e72f556318d480d96f454d0b30ced8">AxiEthernetUtilFrameHdrVlanFormatVid</a> (EthernetFrame *FramePtr, u32 VlanNumber, u32 Vid)</td></tr>
<tr class="memdesc:a06e72f556318d480d96f454d0b30ced8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the frame VLAN info for the specified frame.  <a href="#a06e72f556318d480d96f454d0b30ced8">More...</a><br/></td></tr>
<tr class="separator:a06e72f556318d480d96f454d0b30ced8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c4df4db47e1cfcddd9c8c8cbda8a910"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaxiethernet__example_8h.html#a1c4df4db47e1cfcddd9c8c8cbda8a910">AxiEthernetUtilFrameHdrVlanFormatType</a> (EthernetFrame *FramePtr, u16 FrameType, u32 VlanNumber)</td></tr>
<tr class="memdesc:a1c4df4db47e1cfcddd9c8c8cbda8a910"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the frame type for the specified frame.  <a href="#a1c4df4db47e1cfcddd9c8c8cbda8a910">More...</a><br/></td></tr>
<tr class="separator:a1c4df4db47e1cfcddd9c8c8cbda8a910"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b863f85b5cf0cd2245ee4df20515443"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaxiethernet__example_8h.html#a9b863f85b5cf0cd2245ee4df20515443">AxiEthernetUtilFrameSetVlanPayloadData</a> (EthernetFrame *FramePtr, int PayloadSize, u32 VlanNumber)</td></tr>
<tr class="memdesc:a9b863f85b5cf0cd2245ee4df20515443"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function places a pattern in the payload section of a frame.  <a href="#a9b863f85b5cf0cd2245ee4df20515443">More...</a><br/></td></tr>
<tr class="separator:a9b863f85b5cf0cd2245ee4df20515443"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a561ef796435e1aa0b0eb5013bfb54cea"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaxiethernet__example_8h.html#a561ef796435e1aa0b0eb5013bfb54cea">AxiEthernetUtilFrameVerify</a> (EthernetFrame *CheckFrame, EthernetFrame *ActualFrame)</td></tr>
<tr class="memdesc:a561ef796435e1aa0b0eb5013bfb54cea"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function verifies the frame data against a CheckFrame.  <a href="#a561ef796435e1aa0b0eb5013bfb54cea">More...</a><br/></td></tr>
<tr class="separator:a561ef796435e1aa0b0eb5013bfb54cea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69500ccf415291fc54dfc53333f98a07"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaxiethernet__example_8h.html#a69500ccf415291fc54dfc53333f98a07">AxiEthernetUtilFrameMemClear</a> (EthernetFrame *FramePtr)</td></tr>
<tr class="memdesc:a69500ccf415291fc54dfc53333f98a07"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets all bytes of a frame to 0.  <a href="#a69500ccf415291fc54dfc53333f98a07">More...</a><br/></td></tr>
<tr class="separator:a69500ccf415291fc54dfc53333f98a07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac864e2449120d62d81370b033fc89c42"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaxiethernet__example_8h.html#ac864e2449120d62d81370b033fc89c42">AxiEthernetUtilEnterLoopback</a> (<a class="el" href="struct_x_axi_ethernet.html">XAxiEthernet</a> *AxiEthernetInstancePtr, int Speed)</td></tr>
<tr class="memdesc:ac864e2449120d62d81370b033fc89c42"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the PHY to loopback mode.  <a href="#ac864e2449120d62d81370b033fc89c42">More...</a><br/></td></tr>
<tr class="separator:ac864e2449120d62d81370b033fc89c42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad700d3b9e292277d5437ecc4dc304dc3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaxiethernet__example_8h.html#ad700d3b9e292277d5437ecc4dc304dc3">AxiEthernetUtilErrorTrap</a> (char *Message)</td></tr>
<tr class="memdesc:ad700d3b9e292277d5437ecc4dc304dc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called by example code when an error is detected.  <a href="#ad700d3b9e292277d5437ecc4dc304dc3">More...</a><br/></td></tr>
<tr class="separator:ad700d3b9e292277d5437ecc4dc304dc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ab0dcd0f95007ddcc441c7cbc5f45dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaxiethernet__example_8h.html#a0ab0dcd0f95007ddcc441c7cbc5f45dc">AxiEthernetUtilPhyDelay</a> (unsigned int Seconds)</td></tr>
<tr class="memdesc:a0ab0dcd0f95007ddcc441c7cbc5f45dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">For Microblaze we use an assembly loop that is roughly the same regardless of optimization level, although caches and memory access time can make the delay vary.  <a href="#a0ab0dcd0f95007ddcc441c7cbc5f45dc">More...</a><br/></td></tr>
<tr class="separator:a0ab0dcd0f95007ddcc441c7cbc5f45dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fa74e53e08b376fca070fd5613687ae"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaxiethernet__example_8h.html#a3fa74e53e08b376fca070fd5613687ae">AxiEthernetUtilConfigureInternalPhy</a> (<a class="el" href="struct_x_axi_ethernet.html">XAxiEthernet</a> *AxiEthernetInstancePtr, int Speed)</td></tr>
<tr class="memdesc:a3fa74e53e08b376fca070fd5613687ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function configures the internal phy for SGMII and 1000baseX modes.  <a href="#a3fa74e53e08b376fca070fd5613687ae">More...</a><br/></td></tr>
<tr class="separator:a3fa74e53e08b376fca070fd5613687ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a3fa74e53e08b376fca070fd5613687ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AxiEthernetUtilConfigureInternalPhy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_ethernet.html">XAxiEthernet</a> *&#160;</td>
          <td class="paramname"><em>AxiEthernetInstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Speed</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function configures the internal phy for SGMII and 1000baseX modes. </p>
<ul>
<li><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">AxiEthernetInstancePtr</td><td>is a pointer to the instance of the AxiEthernet component. </td></tr>
    <tr><td class="paramname">Speed</td><td>is the loopback speed 10, 100, or 1000 Mbit.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_FAILURE, in case of failure..</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
</li>
</ul>

<p>References <a class="el" href="xaxiethernet__example_8h.html#ad700d3b9e292277d5437ecc4dc304dc3">AxiEthernetUtilErrorTrap()</a>, <a class="el" href="xaxiethernet__example_8h.html#a0ab0dcd0f95007ddcc441c7cbc5f45dc">AxiEthernetUtilPhyDelay()</a>, <a class="el" href="struct_x_axi_ethernet.html#adda2f024038f99905bb2ca8ab85854eb">XAxiEthernet::Config</a>, <a class="el" href="xaxiethernet__example__util_8c.html#a34159f50a227387e3c9d7ea6dd3dfb17">PHY_R0_CTRL_REG</a>, <a class="el" href="group__axiethernet.html#ga3e82c5281db9a956fe27e6098b74d6c2">XAE_SPEED_1000_MBPS</a>, <a class="el" href="group__axiethernet.html#gacbedd31638917c16df3848cc3ec88a84">XAE_SPEED_100_MBPS</a>, <a class="el" href="group__axiethernet.html#ga76ae6e4b652f8fdcc5750ed78f2ed4aa">XAE_SPEED_10_MBPS</a>, and <a class="el" href="group__axiethernet.html#gaf1d1bc27f9ff597597d31bec4ac76848">XAE_SPEED_2500_MBPS</a>.</p>

<p>Referenced by <a class="el" href="xaxiethernet__example__util_8c.html#ac864e2449120d62d81370b033fc89c42">AxiEthernetUtilEnterLoopback()</a>.</p>

</div>
</div>
<a class="anchor" id="ac864e2449120d62d81370b033fc89c42"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AxiEthernetUtilEnterLoopback </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_ethernet.html">XAxiEthernet</a> *&#160;</td>
          <td class="paramname"><em>AxiEthernetInstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Speed</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the PHY to loopback mode. </p>
<p>This works with the marvell PHY common on ML40x evaluation boards.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">AxiEthernetInstancePtr</td><td>is a pointer to the instance of the AxiEthernet component. </td></tr>
    <tr><td class="paramname">Speed</td><td>is the loopback speed 10, 100, or 1000 Mbit.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_FAILURE, in case of failure..</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xaxiethernet__example_8h.html#a3fa74e53e08b376fca070fd5613687ae">AxiEthernetUtilConfigureInternalPhy()</a>, <a class="el" href="xaxiethernet__example_8h.html#ad700d3b9e292277d5437ecc4dc304dc3">AxiEthernetUtilErrorTrap()</a>, <a class="el" href="xaxiethernet__example_8h.html#a0ab0dcd0f95007ddcc441c7cbc5f45dc">AxiEthernetUtilPhyDelay()</a>, <a class="el" href="struct_x_axi_ethernet.html#adda2f024038f99905bb2ca8ab85854eb">XAxiEthernet::Config</a>, <a class="el" href="xaxiethernet__example__util_8c.html#a34159f50a227387e3c9d7ea6dd3dfb17">PHY_R0_CTRL_REG</a>, <a class="el" href="group__axiethernet.html#ga3e82c5281db9a956fe27e6098b74d6c2">XAE_SPEED_1000_MBPS</a>, <a class="el" href="group__axiethernet.html#gacbedd31638917c16df3848cc3ec88a84">XAE_SPEED_100_MBPS</a>, <a class="el" href="group__axiethernet.html#ga76ae6e4b652f8fdcc5750ed78f2ed4aa">XAE_SPEED_10_MBPS</a>, <a class="el" href="group__axiethernet.html#gaf1d1bc27f9ff597597d31bec4ac76848">XAE_SPEED_2500_MBPS</a>, and <a class="el" href="group__axiethernet.html#gadc2cf9ec186f1dffaece1552f96fcdd9">XAxiEthernet_GetPhysicalInterface</a>.</p>

<p>Referenced by <a class="el" href="xaxiethernet__example__extvlan_8c.html#ac09b8617f3bb5e65bea8863449c90a9f">AxiEthernetExtVlanExample()</a>, <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#af8ae7cf7dd0a643f3ec50d40f8378667">AxiEthernetFifoIntrExample()</a>, <a class="el" href="xaxiethernet__example__extmulticast_8c.html#a28370d674b4e17c6f8ccbb3fa7020cee">AxiEthernetMcastExample()</a>, <a class="el" href="xaxiethernet__example__polled_8c.html#a827aa292a20f9a15e68bfe60e82cfc13">AxiEthernetPolledExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#a94cba434bb36e1b6c037fa19b0c5ff2c">AxiEthernetSgDmaIntrExample()</a>, and <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#ab383afd853a8d97fa420cc7d0dadec6b">AxiEthernetSgDmaPollExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ad700d3b9e292277d5437ecc4dc304dc3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AxiEthernetUtilErrorTrap </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>Message</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called by example code when an error is detected. </p>
<p>It can be set as a breakpoint with a debugger or it can be used to print out the given message if there is a UART or STDIO device.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Message</td><td>is the text explaining the error</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="xaxiethernet__example__extvlan_8c.html#ac09b8617f3bb5e65bea8863449c90a9f">AxiEthernetExtVlanExample()</a>, <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#af8ae7cf7dd0a643f3ec50d40f8378667">AxiEthernetFifoIntrExample()</a>, <a class="el" href="xaxiethernet__example__extmulticast_8c.html#a28370d674b4e17c6f8ccbb3fa7020cee">AxiEthernetMcastExample()</a>, <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a7d1ee0d424789072776d5261d4babc09">AxiEthernetMultipleFramesIntrExample()</a>, <a class="el" href="xaxiethernet__example__polled_8c.html#a0cd46e4b00a48a4968d08e1158a666b2">AxiEthernetMultipleFramesPolledExample()</a>, <a class="el" href="xaxiethernet__example__polled_8c.html#a827aa292a20f9a15e68bfe60e82cfc13">AxiEthernetPolledExample()</a>, <a class="el" href="xaxiethernet__example__polled_8c.html#ad883d4f3debe88fe75096a79b5cdc069">AxiEthernetPollForRxStatus()</a>, <a class="el" href="xaxiethernet__example__polled_8c.html#af885695f4f3be3dc928f62e466725fb1">AxiEthernetPollForTxStatus()</a>, <a class="el" href="xaxiethernet__example__polled_8c.html#a56e626d72ffba0a50d6c992df0f5eb6a">AxiEthernetResetDevice()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#a5672898160ec7b5618a841f2ec55393e">AxiEthernetSgDmaFullChecksumOffloadExample()</a>, <a class="el" href="xaxiethernet__example__intr__sgdma_8c.html#aec76484bbe48802ee44414cb1e9f476c">AxiEthernetSgDmaIntrCoalescingExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#a94cba434bb36e1b6c037fa19b0c5ff2c">AxiEthernetSgDmaIntrExample()</a>, <a class="el" href="xaxiethernet__example__extmulticast_8c.html#aeee0fd063830698a2fd65ff131e737a2">AxiEthernetSgDmaIntrExtMulticastExample()</a>, <a class="el" href="xaxiethernet__example__extvlan_8c.html#ab6233034e8a9da2bafe28ffd757da9d8">AxiEthernetSgDmaIntrExtVlanExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#a1c113c7eca611c0a086606b3b95e4fa6">AxiEthernetSgDmaIntrMultiFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#aa3af031a9217ca954e3f9b659b369364">AxiEthernetSgDmaIntrSingleFrameExample()</a>, <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#aaf9f3b9baf9cc5bee9debae177b7546d">AxiEthernetSgDmaMultiFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#aeb9ed140372759970208ccdc305f7d88">AxiEthernetSgDmaPartialChecksumOffloadExample()</a>, <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#ab383afd853a8d97fa420cc7d0dadec6b">AxiEthernetSgDmaPollExample()</a>, <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#a28c78e26126dbd3284d5e6a3a0f1c94e">AxiEthernetSgDmaSingleFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a91d22adccbd6db21ba46feb01f31c723">AxiEthernetSingleFrameIntrExample()</a>, <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a034de95d97295ccf24089f22e85e94bb">AxiEthernetSingleFrameNonContIntrExample()</a>, <a class="el" href="xaxiethernet__example__polled_8c.html#afca56032499429904944d2fc83975c9f">AxiEthernetSingleFramePolledExample()</a>, <a class="el" href="xaxiethernet__example__util_8c.html#a3fa74e53e08b376fca070fd5613687ae">AxiEthernetUtilConfigureInternalPhy()</a>, <a class="el" href="xaxiethernet__example__util_8c.html#ac864e2449120d62d81370b033fc89c42">AxiEthernetUtilEnterLoopback()</a>, and <a class="el" href="xaxiethernet__example__extmulticast_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a1eb6d3a3d578519d065f1e674d00f144"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AxiEthernetUtilFrameHdrFormatMAC </td>
          <td>(</td>
          <td class="paramtype">EthernetFrame *&#160;</td>
          <td class="paramname"><em>FramePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>DestAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the MAC addresses in the frame. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">FramePtr</td><td>is the pointer to the frame. </td></tr>
    <tr><td class="paramname">DestAddr</td><td>is the Destination MAC address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a7d1ee0d424789072776d5261d4babc09">AxiEthernetMultipleFramesIntrExample()</a>, <a class="el" href="xaxiethernet__example__polled_8c.html#a0cd46e4b00a48a4968d08e1158a666b2">AxiEthernetMultipleFramesPolledExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#a5672898160ec7b5618a841f2ec55393e">AxiEthernetSgDmaFullChecksumOffloadExample()</a>, <a class="el" href="xaxiethernet__example__intr__sgdma_8c.html#aec76484bbe48802ee44414cb1e9f476c">AxiEthernetSgDmaIntrCoalescingExample()</a>, <a class="el" href="xaxiethernet__example__extmulticast_8c.html#aeee0fd063830698a2fd65ff131e737a2">AxiEthernetSgDmaIntrExtMulticastExample()</a>, <a class="el" href="xaxiethernet__example__extvlan_8c.html#ab6233034e8a9da2bafe28ffd757da9d8">AxiEthernetSgDmaIntrExtVlanExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#a1c113c7eca611c0a086606b3b95e4fa6">AxiEthernetSgDmaIntrMultiFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#aa3af031a9217ca954e3f9b659b369364">AxiEthernetSgDmaIntrSingleFrameExample()</a>, <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#aaf9f3b9baf9cc5bee9debae177b7546d">AxiEthernetSgDmaMultiFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#aeb9ed140372759970208ccdc305f7d88">AxiEthernetSgDmaPartialChecksumOffloadExample()</a>, <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#a28c78e26126dbd3284d5e6a3a0f1c94e">AxiEthernetSgDmaSingleFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a91d22adccbd6db21ba46feb01f31c723">AxiEthernetSingleFrameIntrExample()</a>, <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a034de95d97295ccf24089f22e85e94bb">AxiEthernetSingleFrameNonContIntrExample()</a>, and <a class="el" href="xaxiethernet__example__polled_8c.html#afca56032499429904944d2fc83975c9f">AxiEthernetSingleFramePolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="aa8c4f8ca2870764a5708ae0458d2b96a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AxiEthernetUtilFrameHdrFormatType </td>
          <td>(</td>
          <td class="paramtype">EthernetFrame *&#160;</td>
          <td class="paramname"><em>FramePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>FrameType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the frame type for the specified frame. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">FramePtr</td><td>is the pointer to the frame. </td></tr>
    <tr><td class="paramname">FrameType</td><td>is the Type to set in frame.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a7d1ee0d424789072776d5261d4babc09">AxiEthernetMultipleFramesIntrExample()</a>, <a class="el" href="xaxiethernet__example__polled_8c.html#a0cd46e4b00a48a4968d08e1158a666b2">AxiEthernetMultipleFramesPolledExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#a5672898160ec7b5618a841f2ec55393e">AxiEthernetSgDmaFullChecksumOffloadExample()</a>, <a class="el" href="xaxiethernet__example__intr__sgdma_8c.html#aec76484bbe48802ee44414cb1e9f476c">AxiEthernetSgDmaIntrCoalescingExample()</a>, <a class="el" href="xaxiethernet__example__extmulticast_8c.html#aeee0fd063830698a2fd65ff131e737a2">AxiEthernetSgDmaIntrExtMulticastExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#a1c113c7eca611c0a086606b3b95e4fa6">AxiEthernetSgDmaIntrMultiFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#aa3af031a9217ca954e3f9b659b369364">AxiEthernetSgDmaIntrSingleFrameExample()</a>, <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#aaf9f3b9baf9cc5bee9debae177b7546d">AxiEthernetSgDmaMultiFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#aeb9ed140372759970208ccdc305f7d88">AxiEthernetSgDmaPartialChecksumOffloadExample()</a>, <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#a28c78e26126dbd3284d5e6a3a0f1c94e">AxiEthernetSgDmaSingleFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a91d22adccbd6db21ba46feb01f31c723">AxiEthernetSingleFrameIntrExample()</a>, <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a034de95d97295ccf24089f22e85e94bb">AxiEthernetSingleFrameNonContIntrExample()</a>, and <a class="el" href="xaxiethernet__example__polled_8c.html#afca56032499429904944d2fc83975c9f">AxiEthernetSingleFramePolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="a1c4df4db47e1cfcddd9c8c8cbda8a910"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AxiEthernetUtilFrameHdrVlanFormatType </td>
          <td>(</td>
          <td class="paramtype">EthernetFrame *&#160;</td>
          <td class="paramname"><em>FramePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>FrameType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>VlanNumber</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the frame type for the specified frame. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">FramePtr</td><td>is the pointer to the frame. </td></tr>
    <tr><td class="paramname">FrameType</td><td>is the Type to set in frame. </td></tr>
    <tr><td class="paramname">VlanNumber</td><td>is the VLAN friendly adjusted insertion position to set in frame.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xaxiethernet__example__extvlan_8c.html#ab6233034e8a9da2bafe28ffd757da9d8">AxiEthernetSgDmaIntrExtVlanExample()</a>.</p>

</div>
</div>
<a class="anchor" id="a06e72f556318d480d96f454d0b30ced8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AxiEthernetUtilFrameHdrVlanFormatVid </td>
          <td>(</td>
          <td class="paramtype">EthernetFrame *&#160;</td>
          <td class="paramname"><em>FramePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>VlanNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Vid</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the frame VLAN info for the specified frame. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">FramePtr</td><td>is the pointer to the frame. </td></tr>
    <tr><td class="paramname">VlanNumber</td><td>is the VlanValue insertion position to set in frame. </td></tr>
    <tr><td class="paramname">Vid</td><td>is the 4 bytes Vlan value (TPID, Priority, CFI, VID) to be set in frame.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xaxiethernet__example__extvlan_8c.html#ab6233034e8a9da2bafe28ffd757da9d8">AxiEthernetSgDmaIntrExtVlanExample()</a>.</p>

</div>
</div>
<a class="anchor" id="a69500ccf415291fc54dfc53333f98a07"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AxiEthernetUtilFrameMemClear </td>
          <td>(</td>
          <td class="paramtype">EthernetFrame *&#160;</td>
          <td class="paramname"><em>FramePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets all bytes of a frame to 0. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">FramePtr</td><td>is a pointer to the frame itself.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a7d1ee0d424789072776d5261d4babc09">AxiEthernetMultipleFramesIntrExample()</a>, <a class="el" href="xaxiethernet__example__extmulticast_8c.html#aeee0fd063830698a2fd65ff131e737a2">AxiEthernetSgDmaIntrExtMulticastExample()</a>, <a class="el" href="xaxiethernet__example__extvlan_8c.html#ab6233034e8a9da2bafe28ffd757da9d8">AxiEthernetSgDmaIntrExtVlanExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#a1c113c7eca611c0a086606b3b95e4fa6">AxiEthernetSgDmaIntrMultiFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#aa3af031a9217ca954e3f9b659b369364">AxiEthernetSgDmaIntrSingleFrameExample()</a>, <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#aaf9f3b9baf9cc5bee9debae177b7546d">AxiEthernetSgDmaMultiFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#aeb9ed140372759970208ccdc305f7d88">AxiEthernetSgDmaPartialChecksumOffloadExample()</a>, <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#a28c78e26126dbd3284d5e6a3a0f1c94e">AxiEthernetSgDmaSingleFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a91d22adccbd6db21ba46feb01f31c723">AxiEthernetSingleFrameIntrExample()</a>, <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a034de95d97295ccf24089f22e85e94bb">AxiEthernetSingleFrameNonContIntrExample()</a>, and <a class="el" href="xaxiethernet__example__polled_8c.html#afca56032499429904944d2fc83975c9f">AxiEthernetSingleFramePolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="a5b2b391e4495ed818546c7ec695a724a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AxiEthernetUtilFrameSetPayloadData </td>
          <td>(</td>
          <td class="paramtype">EthernetFrame *&#160;</td>
          <td class="paramname"><em>FramePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>PayloadSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function places a pattern in the payload section of a frame. </p>
<p>The pattern is a 8 bit incrementing series of numbers starting with 0. Once the pattern reaches 256, then the pattern changes to a 16 bit incrementing pattern: </p>
<pre>
  0, 1, 2, ... 254, 255, 00, 00, 00, 01, 00, 02, ...
</pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">FramePtr</td><td>is a pointer to the frame to change. </td></tr>
    <tr><td class="paramname">PayloadSize</td><td>is the number of bytes in the payload that will be set.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a7d1ee0d424789072776d5261d4babc09">AxiEthernetMultipleFramesIntrExample()</a>, <a class="el" href="xaxiethernet__example__polled_8c.html#a0cd46e4b00a48a4968d08e1158a666b2">AxiEthernetMultipleFramesPolledExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#a5672898160ec7b5618a841f2ec55393e">AxiEthernetSgDmaFullChecksumOffloadExample()</a>, <a class="el" href="xaxiethernet__example__intr__sgdma_8c.html#aec76484bbe48802ee44414cb1e9f476c">AxiEthernetSgDmaIntrCoalescingExample()</a>, <a class="el" href="xaxiethernet__example__extmulticast_8c.html#aeee0fd063830698a2fd65ff131e737a2">AxiEthernetSgDmaIntrExtMulticastExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#a1c113c7eca611c0a086606b3b95e4fa6">AxiEthernetSgDmaIntrMultiFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#aa3af031a9217ca954e3f9b659b369364">AxiEthernetSgDmaIntrSingleFrameExample()</a>, <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#aaf9f3b9baf9cc5bee9debae177b7546d">AxiEthernetSgDmaMultiFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#aeb9ed140372759970208ccdc305f7d88">AxiEthernetSgDmaPartialChecksumOffloadExample()</a>, <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#a28c78e26126dbd3284d5e6a3a0f1c94e">AxiEthernetSgDmaSingleFrameExample()</a>, <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a91d22adccbd6db21ba46feb01f31c723">AxiEthernetSingleFrameIntrExample()</a>, and <a class="el" href="xaxiethernet__example__polled_8c.html#afca56032499429904944d2fc83975c9f">AxiEthernetSingleFramePolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="a9b863f85b5cf0cd2245ee4df20515443"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AxiEthernetUtilFrameSetVlanPayloadData </td>
          <td>(</td>
          <td class="paramtype">EthernetFrame *&#160;</td>
          <td class="paramname"><em>FramePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>PayloadSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>VlanNumber</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function places a pattern in the payload section of a frame. </p>
<p>The pattern is a 8 bit incrementing series of numbers starting with 0. Once the pattern reaches 256, then the pattern changes to a 16 bit incrementing pattern: </p>
<pre>
  0, 1, 2, ... 254, 255, 00, 00, 00, 01, 00, 02, ...
</pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">FramePtr</td><td>is a pointer to the frame to change. </td></tr>
    <tr><td class="paramname">PayloadSize</td><td>is the number of bytes in the payload that will be set. </td></tr>
    <tr><td class="paramname">VlanNumber</td><td>is the VLAN friendly adjusted insertion position to set in frame.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xaxiethernet__example__extvlan_8c.html#ab6233034e8a9da2bafe28ffd757da9d8">AxiEthernetSgDmaIntrExtVlanExample()</a>.</p>

</div>
</div>
<a class="anchor" id="a561ef796435e1aa0b0eb5013bfb54cea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AxiEthernetUtilFrameVerify </td>
          <td>(</td>
          <td class="paramtype">EthernetFrame *&#160;</td>
          <td class="paramname"><em>CheckFrame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">EthernetFrame *&#160;</td>
          <td class="paramname"><em>ActualFrame</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function verifies the frame data against a CheckFrame. </p>
<p>Validation occurs by comparing the ActualFrame to the header of the CheckFrame. If the headers match, then the payload of ActualFrame is verified for the same pattern Util_FrameSetPayloadData() generates.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CheckFrame</td><td>is a pointer to a frame containing the 14 byte header that should be present in the ActualFrame parameter. </td></tr>
    <tr><td class="paramname">ActualFrame</td><td>is a pointer to a frame to validate.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_FAILURE in case of failure.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#a7d1ee0d424789072776d5261d4babc09">AxiEthernetMultipleFramesIntrExample()</a>, <a class="el" href="xaxiethernet__example__polled_8c.html#a0cd46e4b00a48a4968d08e1158a666b2">AxiEthernetMultipleFramesPolledExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#a94cba434bb36e1b6c037fa19b0c5ff2c">AxiEthernetSgDmaIntrExample()</a>, <a class="el" href="xaxiethernet__example__extmulticast_8c.html#aeee0fd063830698a2fd65ff131e737a2">AxiEthernetSgDmaIntrExtMulticastExample()</a>, <a class="el" href="xaxiethernet__example__extvlan_8c.html#ab6233034e8a9da2bafe28ffd757da9d8">AxiEthernetSgDmaIntrExtVlanExample()</a>, <a class="el" href="xaxiethernet__example__intr__sgdma_8c.html#a27e140fe1ddbd1f8c9c2bbcb7f50c3b9">AxiEthernetSgDmaIntrSingleFrameExample()</a>, <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#ab383afd853a8d97fa420cc7d0dadec6b">AxiEthernetSgDmaPollExample()</a>, and <a class="el" href="xaxiethernet__example__polled_8c.html#afca56032499429904944d2fc83975c9f">AxiEthernetSingleFramePolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="a0ab0dcd0f95007ddcc441c7cbc5f45dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AxiEthernetUtilPhyDelay </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>Seconds</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For Microblaze we use an assembly loop that is roughly the same regardless of optimization level, although caches and memory access time can make the delay vary. </p>
<p>Just keep in mind that after resetting or updating the PHY modes, the PHY typically needs time to recover.</p>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="xaxiethernet__example__extvlan_8c.html#ac09b8617f3bb5e65bea8863449c90a9f">AxiEthernetExtVlanExample()</a>, <a class="el" href="xaxiethernet__example__intr__fifo_8c.html#af8ae7cf7dd0a643f3ec50d40f8378667">AxiEthernetFifoIntrExample()</a>, <a class="el" href="xaxiethernet__example__extmulticast_8c.html#a28370d674b4e17c6f8ccbb3fa7020cee">AxiEthernetMcastExample()</a>, <a class="el" href="xaxiethernet__example__polled_8c.html#a827aa292a20f9a15e68bfe60e82cfc13">AxiEthernetPolledExample()</a>, <a class="el" href="xaxiethernet__example__intr__mcdma_8c.html#a94cba434bb36e1b6c037fa19b0c5ff2c">AxiEthernetSgDmaIntrExample()</a>, <a class="el" href="xaxiethernet__example__mcdma__poll_8c.html#ab383afd853a8d97fa420cc7d0dadec6b">AxiEthernetSgDmaPollExample()</a>, <a class="el" href="xaxiethernet__example__util_8c.html#a3fa74e53e08b376fca070fd5613687ae">AxiEthernetUtilConfigureInternalPhy()</a>, and <a class="el" href="xaxiethernet__example__util_8c.html#ac864e2449120d62d81370b033fc89c42">AxiEthernetUtilEnterLoopback()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
